STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Questionnaire-sdc-profile-example-cap.xml

Raw XML (canonical form)

Cancer pathology questionnaire with flow-control extensions (id = "questionnaire-sdc-profile-example-cap")

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="questionnaire-sdc-profile-example-cap"/>
  <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: questionnaire-sdc-profile-example-cap</p><p><b>status</b>: published</p><p><b>title</b>: (Ask Richard)</p><blockquote><p><b>item</b></p><p><b>linkId</b>: 1</p><p><b>text</b>: MARGINS</p><p><b>type</b>: group</p><p><b>required</b>: true</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr></table></blockquote><blockquote><p><b>item</b></p><p><b>linkId</b>: 2</p><p><b>text</b>: ACCESSORY FINDINGS</p><p><b>type</b>: group</p><p><b>required</b>: true</p><h3>Items</h3><table><tr><td>-</td></tr><tr><td>*</td></tr><tr><td>*</td></tr></table></blockquote></div></text><status value="published"/>
  <title value="(Ask Richard)"/>
  <item>
    <linkId value="1"/>
    <text value="MARGINS"/>
    <type value="group"/>
    <required value="true"/>
    <item>
      <linkId value="1.1"/>
      <text value="Status of surgical margin involvement by tumor (observable entity)"/>
      <type value="choice"/>
      <required value="true"/>
      <option>
        <valueCoding>
          <code value="M1"/>
          <display value="Margins univolved by tumor"/>
        </valueCoding>
      </option>
      <option>
        <valueCoding>
          <code value="M2"/>
          <display value="Margin(s) involved by tumor"/>
        </valueCoding>
      </option>
      <option>
        <valueCoding>
          <code value="M3"/>
          <display value="Cannot be determined"/>
        </valueCoding>
      </option>
      <option>
        <valueCoding>
          <code value="M4"/>
          <display value="Not applicable"/>
        </valueCoding>
      </option>
      <item>
        <linkId value="1.1.1"/>
        <type value="group"/>
        <required value="true"/>
        <item>
          <linkId value="1.1.1.1"/>
          <text value="Distance from Closest Margin"/>
          <type value="choice"/>
          <option>
            <valueCoding>
              <code value="D1"/>
              <display value="Specify (mm)"/>
            </valueCoding>
          </option>
          <option>
            <valueCoding>
              <code value="D2"/>
              <display value="Cannot be assessed (explain)"/>
            </valueCoding>
          </option>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/minValue">
              <valueDecimal value="0.01"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/maxValue">
              <valueDecimal value="1000"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces">
              <valueInteger value="2"/>
            </extension>
            <linkId value="1.1.1.1.1.1"/>
            <text value="Specify (mm)"/>
            <type value="decimal"/>
            <required value="true"/>
          </item>
          <item>
            <linkId value="1.1.1.1.2.1"/>
            <text value="Cannot be assessed (explain)"/>
            <type value="string"/>
            <required value="true"/>
          </item>
        </item>
        <item>
          <linkId value="1.1.1.2"/>
          <text value="Specify Margin, if possible"/>
          <type value="choice"/>
          <option>
            <valueCoding>
              <code value="W1"/>
              <display value="Specify margin"/>
            </valueCoding>
          </option>
          <option>
            <valueCoding>
              <code value="W2"/>
              <display value="Cannot be determined (explain)"/>
            </valueCoding>
          </option>
          <item>
            <linkId value="1.1.1.2.1.1"/>
            <text value="Specify margin"/>
            <type value="string"/>
            <required value="true"/>
          </item>
          <item>
            <linkId value="1.1.1.2.2.1"/>
            <text value="Cannot be determined (explain)"/>
            <type value="string"/>
            <required value="true"/>
          </item>
        </item>
      </item>
      <item>
        <linkId value="1.1.2.1"/>
        <text value="Specify Margin(s), if possible"/>
        <type value="choice"/>
        <required value="true"/>
        <option>
          <valueCoding>
            <code value="I1"/>
            <display value="Specify margin(s)"/>
          </valueCoding>
        </option>
        <option>
          <valueCoding>
            <code value="I2"/>
            <display value="Cannot be determined (explain)"/>
          </valueCoding>
        </option>
        <item>
          <linkId value="1.1.2.1.1.1"/>
          <text value="Specify margin(s)"/>
          <type value="string"/>
          <required value="true"/>
        </item>
        <item>
          <linkId value="1.1.2.1.2.1"/>
          <text value="Cannot be determined (explain)"/>
          <type value="string"/>
          <required value="true"/>
        </item>
      </item>
      <item>
        <linkId value="1.1.3.1"/>
        <text value="Cannot be determined"/>
        <type value="string"/>
        <required value="true"/>
      </item>
      <item>
        <linkId value="1.1.4.1"/>
        <text value="Not Applicable"/>
        <type value="string"/>
        <required value="true"/>
      </item>
    </item>
  </item>
  <item>
    <linkId value="2"/>
    <text value="ACCESSORY FINDINGS"/>
    <type value="group"/>
    <required value="true"/>
    <item>
      <linkId value="2.1"/>
      <text value="Treatment Effect (applicable to carcinomas treated with neoadjuvant therapy)"/>
      <type value="choice"/>
      <option>
        <valueCoding>
          <code value="E1"/>
          <display value="Not identified"/>
        </valueCoding>
      </option>
      <option>
        <valueCoding>
          <code value="E2"/>
          <display value="Present (specify)"/>
        </valueCoding>
      </option>
      <option>
        <valueCoding>
          <code value="E3"/>
          <display value="Indeterminate"/>
        </valueCoding>
      </option>
      <item>
        <linkId value="2.1.1.1"/>
        <text value="Not identified"/>
        <type value="string"/>
        <required value="true"/>
      </item>
      <item>
        <linkId value="2.1.2.1"/>
        <text value="Present (specify)"/>
        <type value="string"/>
        <required value="true"/>
      </item>
      <item>
        <linkId value="2.1.3.1"/>
        <text value="Indeterminate"/>
        <type value="string"/>
        <required value="true"/>
      </item>
    </item>
    <item>
      <linkId value="2.2"/>
      <text value="Tumor Description"/>
      <type value="choice"/>
      <repeats value="true"/>
      <option>
        <valueCoding>
          <code value="U1"/>
          <display value="Hemorrhagic"/>
        </valueCoding>
      </option>
      <option>
        <valueCoding>
          <code value="U2"/>
          <display value="Necrotic"/>
        </valueCoding>
      </option>
      <option>
        <valueCoding>
          <code value="U3"/>
          <display value="Invasion"/>
        </valueCoding>
      </option>
      <option>
        <valueCoding>
          <code value="U4"/>
          <display value="Other (specify)"/>
        </valueCoding>
      </option>
      <item>
        <linkId value="2.2.1.1"/>
        <text value="??"/>
        <type value="choice"/>
        <repeats value="true"/>
        <option>
          <valueCoding>
            <code value="V1"/>
            <display value="Capsule"/>
          </valueCoding>
        </option>
        <option>
          <valueCoding>
            <code value="V2"/>
            <display value="Vessels"/>
          </valueCoding>
        </option>
        <option>
          <valueCoding>
            <code value="V3"/>
            <display value="Extra-adrenal (specify)"/>
          </valueCoding>
        </option>
        <item>
          <linkId value="2.2.1.1.1.1"/>
          <text value="Extra-adrenal (specify)"/>
          <type value="string"/>
          <required value="true"/>
        </item>
      </item>
      <item>
        <linkId value="2.2.2.1"/>
        <text value="Other (specify)"/>
        <type value="string"/>
        <required value="true"/>
      </item>
    </item>
  </item>
</Questionnaire>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.